package com.example.javabasic.sample.reflection.load;

/**
 * @author: cph
 * @date: 2022/1/13 16:27
 */

public class FilterRule {

    public Integer doFilter(Rule rule) {
        Integer status = 0;
        if (rule.getType().equals(1)) {
            status = 1;
        }
        if (rule.getType().equals(2)) {
            status = 2;
        }
        return status;
    }
}
